<?php 
include '../function.php';
$data = file_get_contents('./db.txt');

$arr =json_decode($data,true);

var_dump($arr);


$ip = "121.33.60.108";

$url = "http://ip.taobao.com/service/getIpInfo.php?ip=".$ip;

$res = file_get_contents($url);

var_dump(json_decode($res,true));














 ?>